package com.atguigu.factory.dAbstractFactory.pizzaStore.order;

import com.atguigu.factory.dAbstractFactory.pizzaStore.pizza.Pizza;

/**
 * @program: design-patterns
 * @author: yangshen
 * @description: 抽象工厂模式的抽象层（接口）
 * @create: 2022-01-23 15:46
 **/
public interface AbstractFactory {
    /**
     * 让工厂的子类来实现
     * @param orderType 订购类型
     * @return 订购的具体披萨类
     */
    public Pizza createPizza(String orderType);
}
